﻿
#ifndef INFOS_H
#define INFOS_H
#include<QString>
#include<QVector>
struct FATable {
    int idFA;               //方案ID
    QString nameId;         //名称ID
    QString equipId;        //装备ID
    int equipNum;           //装备数量
};
inline QVector<FATable> faTable = {
    {1, "A1001", "9001",4},
    {1, "A1001", "9003",1},
    {2, "A1001", "9002",6},
    {2, "A1001", "9020",8},
    {1, "B2001", "9002",10},
    {1, "B2001", "9004",1},
    {2, "B2001", "9006",4},
    {2, "B2001", "9008",2},
    {2, "B2001", "9010",4},
    {1, "A1002", "9002",16},
    {2, "A1002", "9003",1},
    {3, "A1002", "9020",16},
    {3, "A1002", "9010",8},

    {1, "B2002", "9002",18},
    {2, "B2002", "9006",4},
    {2, "B2002", "9008",4},
    {2, "B2002", "9010",8},
    {3, "B2002", "9003",1},
    {3, "B2002", "9004",1},
    };

struct NTable {
    QString name;           //装备名称
    QString nameId;         //装备ID
    int classify;           //分类ID
};
inline QVector<NTable> nTable = {
    {"奥迪A6L", "A1001", 2},
     {"宝马X7", "A1002", 2},
      {"迈巴赫S600", "B2001",3},
      {"劳斯莱斯-库里南", "B2002",3},
      {"Dynaudio丹拿", "9001", 4},
       {"柏林之声", "9002",4},
       {"前天窗", "9003",5},
       {"后天窗", "9004", 5},
       {"前排气囊", "9006", 6},
       {"后排气囊", "9008", 6},
       {"侧面气囊", "9010", 2},
       {"空调口", "9020", 2},
       };
struct CTable {
    int classify;           //分类ID
    QString className;      //分类名称
};
inline QVector<CTable> cTable = {
    {1, "B级车中型车"},
    {2, "C级车中大型车"},
    {3, "S级车顶级豪华车"},
    {4, "音响"},
    {5, "天窗"},
    {6, "气囊"},
    {7, "空调"}
};
#endif // INFOS_H
